home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
A-COMAL Series
/
(k)aai.d64
/
inkey.proc
< prev
next >
Wrap
Text File
|
2007-02-28
|
290b
|
14 lines
9000 //
9010 PROC INKEY(REF C$) CLOSED
9020 C$:=KEY$
9030 IF C$=CHR$(0) THEN
9040 POKE 204,0 // CURSOR ON
9050 REPEAT
9060 C$:=KEY$
9070 UNTIL C$<>CHR$(0)
9080 IF PEEK(207) THEN POKE 205,1
9090 WHILE PEEK(207) DO NULL // IS ON?
9100 POKE 204,1 // CURSOR OFF
9110 ENDIF
9120 ENDPROC INKEY